package com.ljf.daily.makemoneysoftware.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.enums.BasicEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 赚钱软件配置  daily_dat_make_money_software_config  记账模式  account_mode  枚举
 *
 * @author LJF
 * @since 2025-09-27
 */
@Getter
@AllArgsConstructor
public enum DailyDatMakeMoneySoftwareConfigAccountModeEnum implements BasicEnum {

    LIMIT_NUMBER(1, "限数", true),
    SUMMARY(2, "汇总", false),
    DAY_LIMIT_NUMBER(3, "每天限数", true),
    DAY_SUMMARY(4, "每天汇总", false),
    MONTH_LIMIT_NUMBER(5, "每月限数", true),
    MONTH_SUMMARY(6, "每月汇总", false),
    YEAR_LIMIT_NUMBER(7, "每年限数", true),
    YEAR_SUMMARY(8, "每年汇总", false);

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private final Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private final String name;

    @JsonProperty("accountLimit")
    @ApiModelProperty(value = "账户限数")
    private final Boolean accountLimit;

}
